body {
    background-color: #f9e8e2;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

h2 {  
    display: inline-block;  
    margin: 20px auto;    
    color: #f093fb;   
    font-family: 'Arial', sans-serif; /* 使用无衬线字体 */  
    font-size: 2em; /* 字体大小为2倍于默认大小 */  
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);   
}  
.clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.w {
    width: 1200px;
    margin: auto;
}

.layer {
    padding-bottom: 50px;
}
.layer-inner {
    background-color: #fff;
}

.layer-inner h3 {
    padding: 20px;
    font-size: 20px;
    height: 22px;
    line-height: 22px;
    border-bottom: 1px solid #f5f5f5;
}

.layer-inner h3::before {
    content: "";
    float: left;
    width: 4px;
    height: 16px;
    margin: 3px 6px 0 0;
}

.hotSale {
    color: #f9aeb9;
}

.likeSale {
    color: #f9d78c;
}

.hotSale::before {
    background-color: #f9aeb9;
}

.likeSale::before {
    background-color: #f9d78c;
}

.saleList .item {
    position: relative;
    float: left;
    width: 196px;
    padding: 20px;
    border: 1px solid #f8fafc;
}

.saleList .bs-item:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.saleList .like-item:hover {
    border-color: #f9aeb9;
    transition: border-color 0.3s;
}

.saleList .item a {
    display: block;
}

.saleList .item a .item-img {
    width: 170px;
    height: 196px;
}

.saleList .item .title {
    font-size: 14px;
    color: #666;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    margin: 8px 0;
}

.saleList .line-2 {
    margin-bottom: 10px;
}

.saleList .comment,
.saleList .collect {
    float: left;
    color: #999;
    margin-right: 10px;
}

.saleList .comment em,
.saleList .collect em {
    font-style: normal;
    margin-left: 5px;
}

.saleList .strong {
    color: #f9aeb9;
    font-size: 22px;
    margin-right: 2px;
}

.saleList .strong::before {
    content: "\A5";
    font-size: 14px;
    color: #f9aeb9;
    margin-right: 3px;
}

.saleList .price-through {
    text-decoration: line-through;
    color: #999;
}

.saleList .sell {
    float: right;
    color: #999;
    margin-top: 5px;
}

.saleList .item .item-more {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 14px;
    background-color: #f9aeb9;
    color: #fff;
}

.saleList .like-item:hover .item-more {
    display: block;
}

.loadMore {
    padding: 30px 0;
}

.loadMore span {
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    background-color: #f9aeb9;
    margin: auto;
    text-align: center;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}
/* 文字滚动 */
.scroll-text {
    margin-top: 30px;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: #f9e8e2;
    padding: 10px 0;
}

.scroll-text p {
    display: inline-block;
    margin: 0;
    padding-right: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* 侧边导航栏 */
.tool {  
    position: fixed;  
    top: 220px;  
    right: 10px;  
    width: 50px;  
    text-align: center;  
    z-index: 10;   
    background-color: #f2f2f2;  
    border-radius: 4px;  
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);  
}  
  
.tool a {  
    position: relative;  
    display: block;  
    font-size: 13px;  
    height: 44px;  
    line-height: 17px;   
    background-color: #f7f7f7;  
    border-bottom: 1px solid #e5e5e5;  
    padding: 8px 8px 0;  
    cursor: pointer;  
    color: #555; /* 默认文本颜色 */  
    transition: all 0.3s ease; /* 添加过渡效果 */  
}  
  
.tool a::after {  
    content: "";  
    position: absolute;  
    left: 8px;  
    bottom: 0; 
    width: 34px;    
    background: linear-gradient(to bottom, transparent, #e5e5e5);  
    height: 1px;  
    z-index: 5;  
}  
  
.tool a.on,  
.tool a:hover {   
    background-color: #ffd4c6; 
    color: #ff6b6b;  
    border-bottom-color: transparent;
    z-index: 6;  
}  
  
a.tool-item1 {  
    color: #e9673b; /* 购物车文字 */  
}  
  
a.tool-item2 {  
    color: #36a2ef; /* 联系客服文字 */  
}  
  
a.tool-item3 {  
    color: #ef6144; /* 个人资料文字 */  
}  
  
a.tool-item4 {  
    line-height: 40px;  /*首页文字 */
    color:#bc2ecb; 
}  
  
.top-arrow {  
    display: block;  
    width: 6px;  
    height: 6px;   
    border-top: 1.5px solid #ff6b6b;  
    border-left: 1.5px solid #ff6b6b;  
    transform: rotate(45deg);  
    margin: 5px auto;  
}  
  
.tool a:hover .top-arrow {  
    border-color: #fff;  
}  
  